﻿/* ----------------------------------------------------------------------------
 * Copyright (c) Philip Stears 
 *
 * This source code is subject to terms and conditions of the Microsoft Public 
 * License (Ms-PL).
 * 
 * By using this source code in any fashion, you are agreeing to be bound 
 * by the terms of the Microsoft Public License.
 * 
 * To request a copy of the Microsoft Public License, send a request by email
 * to license@connectbasic.net.
 *
 * This notice must not be removed from this software.
 * ---------------------------------------------------------------------------- */

namespace ConnectBasic.Shell.Extensibility
{
    using System;

    /// <summary>
    /// Provides data for project events.
    /// </summary>
    public class ProjectEventArgs : EventArgs
    {
        private IProject mProject;

        /// <summary>
        /// Initializes a new instance of the <see cref="ProjectEventArgs" /> class.
        /// </summary>
        /// <param name="project">The project affected by the event.</param>
        public ProjectEventArgs(IProject project)
        {
            mProject = project;
        }

        /// <summary>
        /// Gets the project that affected by the event.
        /// </summary>
        public IProject Project
        {
            get { return mProject; }
        }
    }
}
